package com.jiawa.train.business.enums;

public enum RedisKeyEnum {
    CONFIRM_ORDER("LOCK_CONFIRM_ORDER","购票锁"),
    SK_TOKEN("SK_TOKEN","令牌锁"),
    SK_TOKEN_COUNT("SK_TOKEN_COUNT","令牌数")
    ;

    private final String code;
    private final String desc;

    RedisKeyEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }


}
